@guodongan Use the shortcuts to unstack tabs, then stack tabs.
I use Shift+U to Unstack Tabs
I use U to Stack Tabs
Shift U, U will then collapse and expanded tab stack.
One could combine them in a Command Chain. I assigned Ctrl+Shift+U to execute the Command Chain.
Collapse Tab Stack.png